<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

      <ui:composition template="../template/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateDatosTitle}"></h:outputText>
        </ui:define>
        
          <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                  
                
                </h:panelGrid>
                <br />
               
                <br />
                
                   
                
                <br />
                
                
                
                <h:commandLink action="#{datosController.prepareList}" value="#{bundle.CreateDatosShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.CreateDatosIndexLink}"/>
            </h:form>
              
              
               <form method="POST" enctype="multipart/form-data" action="/imagenget/faces/FileUploadServer">
                        <table border="1">

                            <tr><td>Cedula</td>
                                <td><input type="text" value="" name="cedula"/></td></tr>

                            <tr><td>Nombre</td>
                                <td><input type="text" value="" name="nombre"/></td></tr>

                            <tr><td>Archivo</td>
                                <td>
                                    <input type="file" name="file"/></td></tr>

                            <tr><td>Ingresar</td>
                                <td><input type="submit" value="Press"/></td></tr>

                        </table>
                    </form>
                
              
        </ui:define>
    </ui:composition>

</html>
